package com.frxuexi.mymvi

import android.util.Log
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState
import androidx.hilt.navigation.compose.hiltViewModel
import com.google.gson.Gson
import com.tencent.mmkv.MMKV

@Composable
fun AppDetailPage(vm:AppsViewModel= hiltViewModel()) {
    val json = MMKV.defaultMMKV().decodeString("detail", "").toString()
    MMKV.defaultMMKV().remove("detail")
    val data = Gson().fromJson(json, AppsData::class.java)
    Log.i("===",data.toString())
}